package com.sp.system.user.core.utils.enums;

public enum MenuEnum implements IBaseError {

    // 认证失败
    INTERFACE_ERROR(-201, "当前接口无权限"),
    MENU_ERROR(-202, "当前菜单无权限");

    private final int status;
    private final String message;

    MenuEnum(int status, String message) {
        this.status = status;
        this.message = message;
    }

    @Override
    public int getStatus() {
        return status;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
